package com.cloudbroker.bcs.platform.dav.bizapi.service.chat.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.BlockType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo.CustomerIdForm;

public class UserBlockForm extends CustomerIdForm {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    @NotBlank
    @EnumValue(enumClass = BlockType.class)
    private String block_flag;
    
    public String getBlock_flag() {
        return block_flag;
    }
    
    public void setBlock_flag(String block_flag) {
        this.block_flag = block_flag;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("UserBlockForm [block_flag=").append(block_flag).append(", customer_id=")
                .append(customer_id).append(", user_token=").append(user_token).append(", tenant_id=")
                .append(tenant_id).append("]");
        return builder.toString();
    }
    
}
